<%--
  Created by IntelliJ IDEA.
  User: QiangweiLuo
  Date: 12/22/2018
  Time: 12:57 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>投票的人</title>
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/css/style.css" />
</head>
<body>
<%@include file="top.jsp"%>

<div id="vote" class="wrap" data-genuitec-lp-enabled="false" data-genuitec-file-id="wc4-2" data-genuitec-path="/vote/WebRoot/WEB-INF/pages/list.jsp">
    <h2>投票列表</h2>
    <ul class="list">
        <c:if test="${empty views}"><h4>无人投票</h4></c:if>
        <c:if test="${views != null}"><h4>投票的人为：</h4></c:if>
        <c:forEach var="view" items="${views }">
            <li>
                <h3>
                    ${view.userNam} :
                </h3>
                <p>　　　　　　
            <c:forEach var="option" items="${view.options}">
                ${option}　
            </c:forEach>
                </p>
            </li>
        </c:forEach>

    </ul>
</div>
<div id="footer" class="wrap">
    艾特优软件 &copy; 版权所有
</div>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/jquery-3.2.1.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/heartbeat.js"></script>
</body>
</html>
